package com.example.fitnessservice.module.dao.coachmapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @author feng
 * @version 1.0
 * @&#064;description: TODO
 * @&#064;date 2022/11/28 14:36
 */
@Mapper
public interface CoachBalanceMapper {
    @Update("update coach set balance=balance + #{money} where id=#{coachId}")
    Integer coachGetMoney(@Param("money") Double money, @Param("coachId") Integer coachId);
}
